package valueobject

type MimoBase struct {
	ReceiveAntennas int      `json:"receiveAntennas" binding:"min=1"`             // 接收天线数
	ModulationMode  uint     `json:"modulationMode" binding:"min=1,max=3"`        // 调制方式 0: 4QAM 1: 4ASK 2: 4FSK
	NoiseRate       *float32 `json:"noiseRate" binding:"required,min=-10,max=20"` // 信噪比
}

type MimoDecode struct {
	MimoBase
	Index     *int `json:"index" binding:"required,min=0,max=10"`     // 实验行编号
	BitStream *int `json:"bitStream" binding:"required,min=0,max=15"` // 4位二进制比特流的十进制数
}

type MimoPlot struct {
	MimoBase
	Counts uint32 `json:"counts" binding:"required,min=1000,max=100000"` // 循环次数
}
